package com.guijianpan.demo.repository;

import org.springframework.stereotype.Repository;

import com.guijianpan.demo.domain.Demo;
import com.guijianpan.framework.repository.CommonSQLRepository;

@Repository
public class DemoSQLRepository extends CommonSQLRepository<Demo> {

	public Demo findOne4NativeSQLQuery(Long id) {
		return super.queryEntryDataByEntryId(Demo.class, "t_demo", String.valueOf(id));
	}
	
	
}
